using System;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using MvcMall.Core.Domains;

namespace MvcMall.Data.NHibernateMaps
{
    public class UserFindPwdLogMap :IAutoMappingOverride<UserFindPwdLog>
    {
        public void Override(AutoMapping<UserFindPwdLog> mapping)
        {
            mapping.References(m => m.User).Column("UserId");
        }
    }
}